package com.qingzhuge.sms.dto.response;

import com.qingzhuge.dto.response.BaseResponsePkLongDto;
import com.qingzhuge.sms.ESmsType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author : zero.xiao
 * @description : 短信平台配置
 * @date : 2018/9/19 0019 上午 10:10
 * @modified :
 * @since :
 */
@Setter
@Getter
@ApiModel("短信平台配置")
public class SysSmsResponseDto extends BaseResponsePkLongDto {
    private static final long serialVersionUID = 7172266732922977344L;
    @ApiModelProperty("名称")
    private String name;
    /**短信平台，默认支持阿里云*/
    @ApiModelProperty("短信平台类型")
    private ESmsType type = ESmsType.aliyun;
    /***/
    private String accessKeyId;
    /***/
    private String accessKeySecret;
    @ApiModelProperty("签名，发送在短信中的签名")
    private String signName;
    @ApiModelProperty("用户注册短信模板")
    private String registerTemplateCode;
    @ApiModelProperty("用户登录短信模板")
    private String loginTemplateCode;
    @ApiModelProperty("用户重置密码短信模板")
    private String resetPwdTemplateCode;
    @ApiModelProperty("用户绑定手机号短信模板")
    private String bindingTemplateCode;
    @ApiModelProperty("用户支付短信模板")
    private String payTemplateCode;
    @ApiModelProperty("发送短信后等待时间，为空时默认60s")
    private Integer waitTime;
    @ApiModelProperty("启用")
    private Boolean enable;
}
